<meta charset="utf-8">
<!-- <div class="">
  <h2>上传封面照片</h2>
  <div class="">
    <div ngf-select ng-model="cover.file">
      <img class="upload-head-imgs" ngf-thumbnail="cover.file || 'img/0.jpg'">
    </div>
    <button ng-disabled="cover.file==null">上传</button>
    <div class="progress">
      <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: {{cover.progress}}%;">
        <span>%</span>
      </div>
    </div>
  </div>
</div> -->
<div class="basicform">
  <form name="patientForm" class="form-horizontal" ng-submit="save()">
    <h2>病人基本信息</h2>
    <div class="form-group">
      <label for="inputNmae" class="col-sm-2 control-label">病人姓名</label>
      <input id="inputNmae" class="form-control" ng-model="patient.patientname" placeholder="病人姓名" autofocus required>
    </div>
    <div class="form-group">
      <label for="inputId" class="col-sm-2 control-label">病历号</label>
      <input id="inputId" class="form-control" ng-model="patient.patientid" placeholder="病例号" autofocus required>
    </div>
    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <label class="radio-inline">
          <input type="radio" name="gender" value="男" ng-model="patient.patientgender" checked>男</label>
        <label class="radio-inline">
          <input type="radio" name="gender" value="女" ng-model="patient.patientgender">女</label>
      </div>
    </div>
    <div class="form-group">
      <label for="inputBirth" class="col-sm-2 control-label">出生年月</label>
      <input type="date" id="inputBirth" class="form-control" ng-model="patient.patientbithday" required autofocus>
    </div>
    <div class="form-group">
      <label for="inputDate" class="col-sm-2 control-label">治疗日期</label>
      <input type="date" id="inputDate" class="form-control" ng-model="patient.treatdate" autofocus required>
    </div>
    <div class="form-group">
      <label class="col-sm-2 control-label">临床状况</label>
      <div class="condition-panel">
        <div class="checkbox condition-panel-line">
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'拥挤')"/>拥挤</label>
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'间隙')"/>间隙</label>
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'II类1分类')"/>
            II类1分类</label>
        </div>
        <div class="checkbox condition-panel-line">
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'II类2分类')"/>II类2分类</label>
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'Ⅲ类')"/>Ⅲ类</label>
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'开合')"/>开合</label>
        </div>
        <div class="checkbox condition-panel-line">
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'深覆合')"/>深覆合</label>
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'前牙反合')"/>前牙反合</label>
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'后牙反合')"/>后牙反合</label>
        </div>
        <div class="checkbox condition-panel-line">
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'牙弓狭窄')"/>牙弓狭窄</label>
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'暴牙')"/>暴牙</label>
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'深覆盖')"/>深覆盖</label>
        </div>
        <div class="checkbox condition-panel-line">
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'笑线不调')"/>笑线不调</label>
          <label class="checkbox-inline"><input type="checkbox" ng-click="updateSelection($event,'畸形牙')"/>畸形牙</label>
        </div>
        <div class="checkbox ">
          <label class="checkbox-inline">
            <input type="checkbox" ng-click="otherSymptom($event)"/>其它
          </label>
          <label class="checkbox-inline">
            <input type="text" class="form-control"  ng-disabled="!chooseother" ng-model="othersymptom">
          </label>
        </div>
      </div>
      <!-- <input id="inputSituation" class="form-control" ng-model="patient.clinicalcondition" placeholder="临床状况"> -->
    </div>
    <div class="form-group">
      <label for="extra" class="col-sm-2 control-label">备注</label>
      <textarea id="extra" class="form-control" rows="3" ng-model="patient.remark"></textarea>
    </div>
    <input type="hidden" ng-model="patient.doctorid" value="null">
    <input type="hidden" name="treatcondition" value="in" ng-model="patient.treatcondition">
    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <button ng-disabled="patientForm.$invalid" class="btn btn-default">提交</button>
      </div>
    </div>
  </form>
</div>
